package com.ht.file.dao.impl;

import java.util.List;

import com.ht.file.dao.AdenexaDao;
import com.ht.file.entity.AdenexaModel;
import com.ht.right.dao.impl.BaseDaoImpl;

public class AdenexaDaoImpl extends BaseDaoImpl<AdenexaModel> implements AdenexaDao {

	@Override
	public List<AdenexaModel> findAllAdenexaListJson(String pid) {
		String hql ="from AdenexaModel where pid='"+pid+"'";
		return super.find(hql);
	}

	@Override
	public AdenexaModel findViewAdenexaById(String uuid) {
		return super.get(AdenexaModel.class, uuid);
	}
	
}
